package com.ruoyi.carbon.mapper;

import com.ruoyi.carbon.domain.XiaoshouDingdanWuliao;
import com.ruoyi.carbon.domain.vo.OrderDetail;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface XiaoshouDingdanWuliaoMapper {
    int save(XiaoshouDingdanWuliao xiaoshouDingdanWuliao);

    void deleteByDingdanId(Long[] ids);



    int batchSave(List<XiaoshouDingdanWuliao> xiaoshouDingdanWuliaos);

    List<OrderDetail> getDetail(Long xxddId);

    @Select("select * from xiaoshou_dingdan_wuliao where xiaoshou_dingdan_id = #{xxddId};")
    List<XiaoshouDingdanWuliao> getByXxddId(Long xxddId);
}
